package com.school.campus.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.school.common.annotation.Excel;
import com.school.common.core.domain.BaseEntity;

/**
 * 教职工管理对象 faculty
 * 
 * @author wwj
 * @date 2025-10-31
 */
public class Faculty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 职位 */
    @Excel(name = "职位")
    private String position;

    /** 照片 */
    @Excel(name = "照片")
    private String imageUrl;

    /** 入职日期 */
    private Date hireDate;

    /** 教研室ID */
    @Excel(name = "教研室ID")
    private Long teachingResearchOfficeId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }

    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public void setHireDate(Date hireDate) 
    {
        this.hireDate = hireDate;
    }

    public Date getHireDate() 
    {
        return hireDate;
    }

    public void setTeachingResearchOfficeId(Long teachingResearchOfficeId) 
    {
        this.teachingResearchOfficeId = teachingResearchOfficeId;
    }

    public Long getTeachingResearchOfficeId() 
    {
        return teachingResearchOfficeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("age", getAge())
            .append("position", getPosition())
            .append("imageUrl", getImageUrl())
            .append("hireDate", getHireDate())
            .append("teachingResearchOfficeId", getTeachingResearchOfficeId())
            .toString();
    }
}
